﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SharpShare.Storage.Searching.Parameters {
    public abstract class BinarySearchParameter : SearchParameter {
        protected BinarySearchParameter(SearchParameter left, SearchParameter right) {
            if (left == null) throw new ArgumentNullException("left");
            if (right == null) throw new ArgumentNullException("right");

            this.Left = left;
            this.Right = right;
        }

        public SearchParameter Left { get; private set; }
        public SearchParameter Right { get; private set; }
    }
}
